home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
utils
/
tweak16b
/
regtable.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-04
|
693b
|
36 lines
/*
RegTable.HPP version 1.0
by Robert Schmidt of Ztiff Zox Softwear 1993
Declares the RegisterTable class and its members, defined in
RegTable.CPP.
*/
#ifndef _RegTable_HPP
#define _RegTable_HPP
#include "Register.HPP"
class RegisterTable
{
protected:
NamedRegister *reg;
int registers;
public:
RegisterTable(istream &);
~RegisterTable() { delete[] reg; }
int getMaxReg() { return registers-1; }
void doEnable();
void doDisable();
void in();
void out();
Register *getRegister(unsigned, unsigned char);
friend istream& operator>> (istream&, RegisterTable&);
friend ostream& operator<< (ostream&, RegisterTable&);
};
#endif